//
//  ContactManManager.h
//  QuanZiChat
//
//  Created by lanou3g on 15/11/25.
//  Copyright © 2015年 ZhongHongLin. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ContactManManager : NSObject
@property(nonatomic,strong)NSMutableArray *contactArray;
//单例
+(instancetype)defaulManager;
//从服务器数据库中导出所有联系人
-(void)getAllPerson:(void(^)(NSMutableArray *result)) callback;
//发送消息
-(void)sendMessageWithMyClientID:(NSString *)myClientID OtherClientID:(NSString *)otherClientID Message:(NSString *)message;
//接收消息
-(void)recriveMessageWithDelegate:(id)mydelegate OtherClient:(NSString *)otherclient;
//建立发送模型
-(void)buildSendModelWithString:(NSString *)str type:(NSString *)type;
//返回聊天数组
-(NSMutableArray *)getTalkArray;
@end
